inline bool& AlphaState::blend_enabled()
{
	return blend_enabled;
}

inline GLenum& AlphaState::src_blend()
{
	return srcblend;
}

inline GLenum& AlphaState::dst_blend()
{
	return dstblend;
}

inline bool& AlphaState::test_enabled()
{
	return testenabled;
}

inline GLenum& AlphaState::test()
{
	return ftest;
}

inline Real AlphaState::reference()
{
	return freference;
}